package com.xcdh.orm.ddl;

import lombok.Data;

/**
 * DDLIndex
 * Created by wjg on 2023/11/30.
 */
@Data
public class DDLIndex extends DDLBase{
    /**是否是主键**/
    private boolean pk ;
    /**表名**/
    private String tableName ;
    /**列名**/
    private String columnName ;

    private String indexName ;

    private String indexType ;

    public DDLIndex(){}

    public DDLIndex(String tableName ,  String dataBaseName){
        super.setDataBaseName(dataBaseName);
        this.tableName = tableName ;
    }

}
